
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import LocationRecordViewSet, MilestoneViewSet, TrackingSettingsViewSet

app_name = 'tracking_app'

router = DefaultRouter()
router.register(r'locations', LocationRecordViewSet)
router.register(r'milestones', MilestoneViewSet)
router.register(r'settings', TrackingSettingsViewSet)

urlpatterns = [
    path('', include(router.urls)),
]